<div class="span4 box">

	<div class="content-wrap">
		<h6>Log in</h6>
                <?php echo $this->flashmessages();?>
	<?php if (count($this->errorMessage) > 0): ?>
		<div class="alert alert-error">
		<?php foreach ($this->errorMessage as $erroValue): ?>
			<?php foreach ($erroValue as $_value): ?>
			<div class="text-left">
			<i class="icon-remove-sign"></i>
			<?php echo $_value; ?>
			</div>
			<?php endforeach; ?>
		<?php endforeach; ?>
		</div>
	<?php endif; ?>


		
		<form action="<?php echo $this->url(array('module' => 'admin', 'controller' => 'login', 'action' => 'index'), null, TRUE); ?>" method="post">
		<?php echo $this->form->email; ?>
		<?php echo $this->form->password; ?>
		<a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'login', 'action' => 'forgotpassword'), null, TRUE); ?>" class="forgot">Forgot password?</a>
		
		<button type="submit" class="btn-glow primary login">
                Log in
		</button>
		</form>
	</div>
</div>


<div class="span4 no-account">
	<p>Don't have an account?</p>
	<a href="<?php echo $this->url(array('module' => 'admin', 'controller' => 'login', 'action' => 'signup'), null, TRUE); ?>">Create Account</a>
</div>
<?php /*?>

<header class="text-align-center">
    <h4>Login to your account</h4>
</header>
<div class="body">

    <?php if (count($this->errorMessage) > 0): ?>

        <div class="alert alert-danger">

            <h4><i class="fa fa-ban"></i> <strong>You got an error!</strong></h4>

            <?php foreach ($this->errorMessage as $erroValue): ?>
                <?php foreach ($erroValue as $_value): ?>
                    <p><?php echo $_value; ?></p>
                <?php endforeach; ?>

            <?php endforeach; ?>

        </div>


    <?php endif; ?>
    <form class="no-margin"  action="<?php echo $this->url(array('module' => 'admin', 'controller' => 'login', 'action' => 'index'), null, TRUE); ?>" method="post">
        <fieldset>
            <div class="form-group no-margin">
                <label for="email" >Email</label>

                <div class="input-group input-group-lg">
                    <span class="input-group-addon">
                        <i class="eicon-user"></i>
                    </span>
                    <?php echo $this->form->email; ?>
                </div>

            </div>

            <div class="form-group">
                <label for="password" >Password</label>

                <div class="input-group input-group-lg">
                    <span class="input-group-addon">
                        <i class="fa fa-lock"></i>
                    </span>
                    <?php echo $this->form->password; ?>
                </div>

            </div>
        </fieldset>
        <div class="form-actions">
            <button type="submit" class="btn btn-block btn-lg btn-danger">
                <span class="small-circle"><i class="fa fa-caret-right"></i></span>
                <small>Sign In</small>
            </button>
            <div class="forgot"><a class="forgot" href="<?php echo $this->url(array('controller' => 'login', 'action' => 'forgotpassword', 'module' => 'admin'), null, TRUE); ?>">Forgot Username or Password?</a></div>
        </div>
    </form>
</div>

<?php */?>